package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "voice")
public class Voice implements java.io.Serializable {

    private ObjectId id; //主键id
    private Long vid; //自动增长
    private Long created; //创建时间
    private Long userId;
    private String videoUrl; //语音文件，URL
    private Integer status;//语音读取状态:"1":已读取  "0" 未读取

}